home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
examples.arc
/
EXAMPL17.PRO
< prev
next >
Wrap
Text File
|
1986-10-07
|
307b
|
19 lines
/* Program 17 */
/*
Goals to enter are on page 66 of the manual.
*/
domains
d = pair(integer,integer) ; single(integer) ; none
predicates
equal(d,d)
clauses
equal(X,X).
/*goal
equal(single(4),pair(3,4)),
equal(pair(2,1),pair(2,1)),
equal(none,none).*/